package com.ruoyi.im.domain;

import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 好友表 im_friends
 * 
 * @author ruoyi
 * @date 2018-11-06
 */
public class Friends extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;
	/** 用户id */
	private Long userId;
	/** 好友id */
	private Long friendsUserId;
	/** 添加时间 */
	private String addTime;
	//分组id
	private Long groupingId;
	private String memoName;//好友备注
	private Long labelId;

	public Long getLabelId() {
		return labelId;
	}

	public void setLabelId(Long labelId) {
		this.labelId = labelId;
	}

	public String getMemoName() {
		return memoName;
	}

	public void setMemoName(String memoName) {
		this.memoName = memoName;
	}

	public Long getGroupingId() {
		return groupingId;
	}

	public void setGroupingId(Long groupingId) {
		this.groupingId = groupingId;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setFriendsUserId(Long friendsUserId) 
	{
		this.friendsUserId = friendsUserId;
	}

	public Long getFriendsUserId() 
	{
		return friendsUserId;
	}
	public void setAddTime(String addTime) 
	{
		this.addTime = addTime;
	}

	public String getAddTime() 
	{
		return addTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("friendsUserId", getFriendsUserId())
            .append("addTime", getAddTime())
            .toString();
    }
}
